package com.example.g2daylx2

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.alibaba.android.arouter.facade.annotation.Route
import com.example.g2daylx2.databinding.ActivityMain2Binding
import com.example.lib_base.net.mvvm.BaseViewActivity
import dagger.hilt.android.AndroidEntryPoint
@Route(path = "/app/MainActivity2")
@AndroidEntryPoint
class MainActivity2 : BaseViewActivity<ActivityMain2Binding>() {
    override fun initView() {
        val navHostFragment = supportFragmentManager.findFragmentById(R.id.fg) as NavHostFragment
        val navController = navHostFragment.navController
        binding.tab.setupWithNavController(navController)
    }

    override fun initData() {

    }

}